package com.yuanqi.java.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuanqi.java.dto.PurchaseReturnDetailQueryDTO;
import com.yuanqi.java.dto.PurchaseReturnDetailVO;
import com.yuanqi.java.mapper.PurchaseReturnDetailMapper;
import com.yuanqi.java.service.IPurchaseReturnDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PurchaseReturnDetailServiceImpl implements IPurchaseReturnDetailService {

    @Autowired
    private PurchaseReturnDetailMapper purchaseReturnDetailMapper;

    @Override
    public Page<PurchaseReturnDetailVO> pageQuery(Page<PurchaseReturnDetailVO> page, PurchaseReturnDetailQueryDTO queryDTO) {
        return purchaseReturnDetailMapper.selectReturnDetailPage(page, queryDTO);
    }
} 